package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 策略生成对象 tb_diy_strategy
 * 
 * @author ruoyi
 * @date 2022-02-16
 */
public class TbDiyStrategy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String strategyNm;

    /** $column.columnComment */
    private String strategyCd;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String creatorNm;

    /** $column.columnComment */
    private String creatorId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String isInvalid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createTm;

    /** 逻辑表达式 */
    private String strategyLogic;

    /** 因子 */
    private String strategyContent;
    private String strategyTmpFactor;

    /** 排序 */
    private String applyBoard;
    private String additionalIndex;

    public String getAdditionalIndex() {
        return additionalIndex;
    }

    public void setAdditionalIndex(String additionalIndex) {
        this.additionalIndex = additionalIndex;
    }

    public String getStrategyTmpFactor() {
        return strategyTmpFactor;
    }

    public void setStrategyTmpFactor(String strategyTmpFactor) {
        this.strategyTmpFactor = strategyTmpFactor;
    }

    public void setStrategyNm(String strategyNm)
    {
        this.strategyNm = strategyNm;
    }

    public String getStrategyNm() 
    {
        return strategyNm;
    }
    public void setStrategyCd(String strategyCd) 
    {
        this.strategyCd = strategyCd;
    }

    public String getStrategyCd() 
    {
        return strategyCd;
    }
    public void setCreatorNm(String creatorNm) 
    {
        this.creatorNm = creatorNm;
    }

    public String getCreatorNm() 
    {
        return creatorNm;
    }
    public void setCreatorId(String creatorId) 
    {
        this.creatorId = creatorId;
    }

    public String getCreatorId() 
    {
        return creatorId;
    }
    public void setIsInvalid(String isInvalid) 
    {
        this.isInvalid = isInvalid;
    }

    public String getIsInvalid() 
    {
        return isInvalid;
    }
    public void setCreateTm(Date createTm) 
    {
        this.createTm = createTm;
    }

    public Date getCreateTm() 
    {
        return createTm;
    }
    public void setStrategyLogic(String strategyLogic) 
    {
        this.strategyLogic = strategyLogic;
    }

    public String getStrategyLogic() 
    {
        return strategyLogic;
    }
    public void setStrategyContent(String strategyContent) 
    {
        this.strategyContent = strategyContent;
    }

    public String getStrategyContent() 
    {
        return strategyContent;
    }
    public void setApplyBoard(String applyBoard) 
    {
        this.applyBoard = applyBoard;
    }

    public String getApplyBoard() 
    {
        return applyBoard;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("strategyNm", getStrategyNm())
            .append("strategyCd", getStrategyCd())
            .append("creatorNm", getCreatorNm())
            .append("creatorId", getCreatorId())
            .append("isInvalid", getIsInvalid())
            .append("createTm", getCreateTm())
            .append("strategyLogic", getStrategyLogic())
            .append("strategyContent", getStrategyContent())
            .append("applyBoard", getApplyBoard())
            .toString();
    }
}
